#include "PointsBonus.h"
#include "Stage.h"

PointsBonus::PointsBonus() {
	this->setTexture((Texture*)DaoFactory::getInstance()->getDao("Texture")->find("netscape"));
	/*Sacar el dao de aki*/
	this->setRadius(15);
	this->setLineColor(new Color("255","255","255"));
	this->setSurface(SketcherHelper::getInstance()->createCircleSurface(this->getRadius(),this->getTexture(),this->getLineColor()));
	this->setId("PointsBonus");
}

PointsBonus::~PointsBonus() {
}

void PointsBonus::doMagic(void* stage){
	((Stage*)stage)->getScore()->setScore(((Stage*)stage)->getScore()->getScore()+300);
	((Stage*)stage)->getScore()->draw();
}

void PointsBonus::undoMagic(void* stage){
}
